from rest_framework import serializers
from .models import User


class UserModelSerializer(serializers.ModelSerializer):
    """
    用户表的序列化
    """

    class Meta:
        model = User
        fields = '__all__'
